#ifndef WLIST_H_
# define WLIST_H_

#include "struct.h"
#include "weapon.h"

s_wlist *delete_weapon(s_wlist *wlist,
                       s_wlist *dlist);

s_wlist *add_weapon(s_weapon *weapon,
                    s_wlist *wlist);

s_wlist *check_weapon(s_wlist *wlist);

s_wlist *add_missile(s_weapon *weapon,
                     s_wlist *wlist);

void    free_weap(s_wlist  **wlist);
#endif /* !WLIST_H_ */
